<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<script>
			var x=0,y=0,z=0;//公鸡，母鸡，和小鸡
			//x+y+z=100
			//5x+3y+z/3=100
			//15x+9y+z=300
			//14x+8y=200
			//7x+4y=100
			// x=(100-4y)/7
			//y=(100-7x)/4=25-7x/4;
			//推断：x一定是4的倍数，范围0-（100/7),即 0-14
			for(x=0;x<=14;x+=4){
				y=25-x*7/4;
				z=100-x-y;
				document.write(x+","+","+y+","+z+"<br/>");
			}
		</script>
	</head>
	<body>
	</body>
</html>
